package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 pc_company_config
 * 
 * @author ruoyi
 * @date 2022-08-25
 */
@ApiModel(value = "PcCompanyConfig",description = "【请填写功能名称】对象 pc_company_config")
public class PcCompanyConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 运营公司，分公司等配置主键 */
    private Long id;

    /** 等级 */
    @ApiModelProperty(value="等级",name="PcCompanyConfig$companyLevel")
    @Excel(name = "等级")
    private String companyLevel;

    /** 业绩(万);申请对应团队等级需要达到的业绩 */
    @ApiModelProperty(value="业绩(万);申请对应团队等级需要达到的业绩",name="PcCompanyConfig$companyEarns")
    @Excel(name = "业绩(万);申请对应团队等级需要达到的业绩")
    private String companyEarns;

    /** 收益比例 */
    @ApiModelProperty(value="收益比例",name="PcCompanyConfig$rewardRate")
    @Excel(name = "收益比例")
    private BigDecimal rewardRate;
    /** 分红比例 */
    @ApiModelProperty(value="分红比例",name="PcCompanyConfig$rewardRate")
    @Excel(name = "分红比例")
    private BigDecimal shareRate;

    public BigDecimal getShareRate() {
        return shareRate;
    }

    public void setShareRate(BigDecimal shareRate) {
        this.shareRate = shareRate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyLevel(String companyLevel) 
    {
        this.companyLevel = companyLevel;
    }

    public String getCompanyLevel() 
    {
        return companyLevel;
    }
    public void setCompanyEarns(String companyEarns) 
    {
        this.companyEarns = companyEarns;
    }

    public String getCompanyEarns() 
    {
        return companyEarns;
    }
    public void setRewardRate(BigDecimal rewardRate) 
    {
        this.rewardRate = rewardRate;
    }

    public BigDecimal getRewardRate() 
    {
        return rewardRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyLevel", getCompanyLevel())
            .append("companyEarns", getCompanyEarns())
            .append("rewardRate", getRewardRate())
            .toString();
    }
}
